package org.xq.softcup.mq.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.xq.softcup.mq.admin.model.RegMsg;

import java.util.List;

/**
 * 消息注册持久层
 * @author admin
 */
@Mapper
public interface IRegMsgDao {

    public int add(@Param("regMsg") RegMsg regMsg);

    public List<RegMsg> findMessage(@Param("excludeIds") List<Integer> excludeIds);

    public int cleanMessage(@Param("messageTimeout") int messageTimeout);

}
